package com.lagou.edu.service;

import com.lagou.edu.annotation.Transactional;

public interface TransferService {

    /**
     * 进行转账功能
     * @param fromCardNo 转账方
     * @param toCardNo 收款方
     * @param money 转账金额
     * @throws Exception
     */
    @Transactional
    void transfer(String fromCardNo,String toCardNo,int money) throws Exception;
}
